let config = require('./index-config.js');
let HOST = config.HOST;

function FullUrl(route, host = HOST) {
	return `${host}/${route}`;
}

module.exports = {
	jwxauth: FullUrl("api/jwxauth"), //jssdk
	wxauth: FullUrl("api/wxauth"), //跳转授权
	redirectDomain: "http://www.demo.com",//授权域名
};
